package com.lzz.bottomencapsulation.eventbus;

/***
 @package ${package}
 @filename ${eventBus消息}
 */
public class MessageEvent{
    private long code;//消息标识
    private Object data;//数据

    public MessageEvent(long code) {
        this.code = code;
    }

    public MessageEvent(long code, Object data) {
        this.code = code;
        this.data = data;
    }



    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}